home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global lastDot, nextLine, allRight
- set HC to the number of cast "handCursor"
- cursor([HC, HC + 1])
- set lastDot to 0
- set nextLine to 24
- set allRight to 1
- end
-
- on nextDot
- global lastDot, nextLine, allRight
- if lastDot <> 0 then
- set rise to float(the locV of sprite the clickOn - the locV of sprite lastDot)
- set run to float(the locH of sprite the clickOn - the locH of sprite lastDot)
- if run <> 0 then
- if (rise / run) < 0 then
- set the type of sprite nextLine to 6
- end if
- end if
- spriteBox(nextLine, the locH of sprite lastDot, the locV of sprite lastDot, the locH of sprite the clickOn, the locV of sprite the clickOn)
- updateStage()
- if (the clickOn - 1) <> lastDot then
- set allRight to 0
- end if
- set nextLine to nextLine + 1
- if nextLine = 45 then
- if allRight then
- puppetSound(0)
- go("seesaw")
- else
- beep()
- continue()
- end if
- end if
- end if
- set lastDot to the clickOn
- end
-